#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "sgalgorithm.h"
#include "samegame.h"
#include <QList>
#include "glwidget.h"
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    
private slots:
    void on_pushButton_new_clicked();

    void on_pushButton_save_clicked();

    void on_pushButton_Load_clicked();

    void on_pushButton_Solve_clicked();

    void on_comboBox_method_activated(int index);

    void on_comboBox_method_currentIndexChanged(int index);

    void on_pushButton_start_predef_clicked();

    void on_spinBox_LP_valueChanged(int arg1);

    void on_spinBox_EP_valueChanged(int arg1);

    void on_spinBox_NP_valueChanged(int arg1);

    void on_spinBox_EZ_valueChanged(int arg1);

    void on_spinBox_NZ_valueChanged(int arg1);

    void on_spinBox_I_valueChanged(int arg1);

private:
    Ui::MainWindow *ui;
    GLWidget *gameWidget;
    QVector<SGalgorithm*> algorithms;
    SGSolution solution;
};

#endif // MAINWINDOW_H
